on Sync Client
Runs on the logical client after a config is synced from the server. This occurs when the player is logging in and when datapacks are reloaded. This is distinct from onUpdateClient, which fires when changes are made to a config in-game, which are also synced. This is the initial sync of the entire config state.
This should only perform client logic, and it is good practice to insulate client-only code by putting a method reference to a dedicated client-only class in this call.
Author
fzzyhmstrs
Since
0.5.0